var Greeter = /** @class */ (function () {
  // 构造方法
  function Greeter(message) {
    this.greeting = message;
  }
  // 类方法
  Greeter.prototype.greet = function () {
    return "Hello " + this.greeting;
  };
  Greeter.prototype.getThis = function () {
    return this;
  };
  return Greeter;
})();
var greeter = new Greeter("世界");
console.log(greeter.greet());
console.log(greeter.getThis());
